package cn.usain.mapper;

import cn.usain.entity.Feedback;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface FeedbackMapper {
@Insert("INSERT INTO feedback (feedback_type, description, contact) VALUES (#{feedbackType}, #{description}, #{contact})")
    void insertFeedback(Feedback feedback);
}
